home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C24 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.9 KB  |  119 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C24
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Rtshapes \
  22.     TypeidAndBuiltins \
  23.     RTTIandNesting \
  24.     RTTIWithoutPolymorphism \
  25.     DynamicCast \
  26.     Voidrtti \
  27.     ConstructorOrder \
  28.     RTTIwithReferences \
  29.     RTTIwithExceptions \
  30.     RTTIandMultipleInheritance \
  31.     Recycle2 \
  32.     Selfrtti \
  33.     Statcast \
  34.     Constcst \
  35.     Reinterp 
  36.  
  37. test: all 
  38.     Rtshapes  
  39.     TypeidAndBuiltins  
  40.     RTTIandNesting  
  41.     RTTIWithoutPolymorphism  
  42.     DynamicCast  
  43.     Voidrtti  
  44.     ConstructorOrder  
  45.     RTTIwithReferences  
  46.     RTTIwithExceptions  
  47.     RTTIandMultipleInheritance  
  48.     Recycle2  
  49.     Selfrtti  
  50.     Statcast  
  51.     Constcst  
  52.     Reinterp  
  53.  
  54. bugs: 
  55.     @echo No compiler bugs in this directory!
  56.  
  57. Rtshapes: Rtshapes.o 
  58.     $(CPP) $(OFLAG)Rtshapes Rtshapes.o 
  59.  
  60. TypeidAndBuiltins: TypeidAndBuiltins.o 
  61.     $(CPP) $(OFLAG)TypeidAndBuiltins TypeidAndBuiltins.o 
  62.  
  63. RTTIandNesting: RTTIandNesting.o 
  64.     $(CPP) $(OFLAG)RTTIandNesting RTTIandNesting.o 
  65.  
  66. RTTIWithoutPolymorphism: RTTIWithoutPolymorphism.o 
  67.     $(CPP) $(OFLAG)RTTIWithoutPolymorphism RTTIWithoutPolymorphism.o 
  68.  
  69. DynamicCast: DynamicCast.o 
  70.     $(CPP) $(OFLAG)DynamicCast DynamicCast.o 
  71.  
  72. Voidrtti: Voidrtti.o 
  73.     $(CPP) $(OFLAG)Voidrtti Voidrtti.o 
  74.  
  75. ConstructorOrder: ConstructorOrder.o 
  76.     $(CPP) $(OFLAG)ConstructorOrder ConstructorOrder.o 
  77.  
  78. RTTIwithReferences: RTTIwithReferences.o 
  79.     $(CPP) $(OFLAG)RTTIwithReferences RTTIwithReferences.o 
  80.  
  81. RTTIwithExceptions: RTTIwithExceptions.o 
  82.     $(CPP) $(OFLAG)RTTIwithExceptions RTTIwithExceptions.o 
  83.  
  84. RTTIandMultipleInheritance: RTTIandMultipleInheritance.o 
  85.     $(CPP) $(OFLAG)RTTIandMultipleInheritance RTTIandMultipleInheritance.o 
  86.  
  87. Recycle2: Recycle2.o 
  88.     $(CPP) $(OFLAG)Recycle2 Recycle2.o 
  89.  
  90. Selfrtti: Selfrtti.o 
  91.     $(CPP) $(OFLAG)Selfrtti Selfrtti.o 
  92.  
  93. Statcast: Statcast.o 
  94.     $(CPP) $(OFLAG)Statcast Statcast.o 
  95.  
  96. Constcst: Constcst.o 
  97.     $(CPP) $(OFLAG)Constcst Constcst.o 
  98.  
  99. Reinterp: Reinterp.o 
  100.     $(CPP) $(OFLAG)Reinterp Reinterp.o 
  101.  
  102.  
  103. Rtshapes.o: Rtshapes.cpp ../purge.h 
  104. TypeidAndBuiltins.o: TypeidAndBuiltins.cpp 
  105. RTTIandNesting.o: RTTIandNesting.cpp 
  106. RTTIWithoutPolymorphism.o: RTTIWithoutPolymorphism.cpp 
  107. DynamicCast.o: DynamicCast.cpp 
  108. Voidrtti.o: Voidrtti.cpp 
  109. ConstructorOrder.o: ConstructorOrder.cpp 
  110. RTTIwithReferences.o: RTTIwithReferences.cpp 
  111. RTTIwithExceptions.o: RTTIwithExceptions.cpp 
  112. RTTIandMultipleInheritance.o: RTTIandMultipleInheritance.cpp 
  113. Recycle2.o: Recycle2.cpp ../purge.h 
  114. Selfrtti.o: Selfrtti.cpp ../purge.h 
  115. Statcast.o: Statcast.cpp 
  116. Constcst.o: Constcst.cpp 
  117. Reinterp.o: Reinterp.cpp 
  118.  
  119.